package ywpt.model;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

public class KnowLib implements java.io.Serializable{

	/**
	 * ֪ʶ��
	 */
	private static final long serialVersionUID = 3419517560843658913L;
	private Long id;
	private PeopleInfo people;
	private Department depart;
	private PositionInfo position;
	private String typeName;
	private Boolean submitFlag;
	private Boolean checkFlag;
	private PeopleInfo checker;
	private Boolean deleteFlag;
	private Date publDate;
	private String title;
	private String keyWord;
	private String knowContent;
	

	//���������Դӱ�
	private Set<KnowMsg> knowMsgSet = new HashSet<KnowMsg>(0);
	//�����ĸ���
	private Set<KnowScans> knowScansSet = new HashSet<KnowScans>(0);
	
	public KnowLib(){
		this.checkFlag = false;
		this.deleteFlag = false;
		this.submitFlag = false;
	}
	
	public Set<KnowMsg> getKnowMsgSet() {
		return knowMsgSet;
	}
	public void setKnowMsgSet(Set<KnowMsg> knowMsgSet) {
		this.knowMsgSet = knowMsgSet;
	}
	public Set<KnowScans> getKnowScansSet() {
		return knowScansSet;
	}
	public void setKnowScansSet(Set<KnowScans> knowScansSet) {
		this.knowScansSet = knowScansSet;
	}
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}

	public PeopleInfo getPeople() {
		return people;
	}
	public void setPeople(PeopleInfo people) {
		this.people = people;
	}
	public Department getDepart() {
		return depart;
	}
	public void setDepart(Department depart) {
		this.depart = depart;
	}
	public PositionInfo getPosition() {
		return position;
	}
	public void setPosition(PositionInfo position) {
		this.position = position;
	}
	public String getTypeName() {
		return typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

	public Date getPublDate() {
		return publDate;
	}
	public void setPublDate(Date publDate) {
		this.publDate = publDate;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getKnowContent() {
		return knowContent;
	}
	public void setKnowContent(String knowContent) {
		this.knowContent = knowContent;
	}
	public Boolean getSubmitFlag() {
		return submitFlag;
	}
	public void setSubmitFlag(Boolean submitFlag) {
		this.submitFlag = submitFlag;
	}
	public Boolean getCheckFlag() {
		return checkFlag;
	}
	public void setCheckFlag(Boolean checkFlag) {
		this.checkFlag = checkFlag;
	}
	public Boolean getDeleteFlag() {
		return deleteFlag;
	}
	public void setDeleteFlag(Boolean deleteFlag) {
		this.deleteFlag = deleteFlag;
	}

	public String getKeyWord() {
		return keyWord;
	}

	public void setKeyWord(String keyWord) {
		this.keyWord = keyWord;
	}

	public PeopleInfo getChecker() {
		return checker;
	}

	public void setChecker(PeopleInfo checker) {
		this.checker = checker;
	}
}
